package com.xinz.protocal;

public class ServiceException extends RuntimeException{

	private static final long serialVersionUID = -7678058083007870523L;

	String msg;
	
	transient public Object tag;
	
	public ServiceException() {
		this("系统异常，请稍后访问");
	}
	
	public ServiceException(String msg) {
		super();
		this.msg = msg;
	}
	
	@Override
	public String getMessage() {
		return msg;
	}
}
